package com.lmmob.autotest.uitest.controls;

import org.openqa.selenium.WebDriver;

public class Panel extends CompositeControl {
    private String id;

    public Panel(String id, WebDriver webDriver) {
        super(webDriver);
        this.id = id;
    }

    @Override
    protected String getSelfQuery() {
        return String.format(".query(\"panel[id='%s']\")[0]", id);
    }

    @Override
    public void show() {

    }

    @Override
    protected String getName() {
        return this.id;
    }

}
